Personal tools

Lua/Shared/Functions/FNV

From JC2-MP Documentation

< Lua‎ | Shared
Jump to: navigation, search

Do not use this for passwords unless you want to be hunted down and mauled.



Returns    number
Prototype    FNV(string input)
Description    Calculates the Fowler-Noll-Vo hash of input.



Returns    number
Prototype    FNV(string input, number salt)
Description    Calculates the Fowler-Noll-Vo hash of input with a seed.


See Also

Wikipedia